import { createRouter, createWebHashHistory } from 'vue-router'

const Layout = () => import('@/views/Layout')

const routes = [
  {
    path: '/',
    component: Layout,
    children: [
      { path: '/home', component: Layout }
    ]
  }
]

const router = createRouter({
  base: process.env.BASE_URL,
  history: createWebHashHistory(),
  routes
})


export default router
